package com.p2p.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.entity.RedPacketsManage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RedPacketsManageMapper extends BaseMapper<RedPacketsManage> {

    List<RedPacketsManage> search(@Param("name") String name,
                                  @Param("type") Byte type,
                                  @Param("page") Page page);
}
